<?php
/**
 * TomatoCart Open Source Shopping Cart Solution
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License v3 (2007)
 * as published by the Free Software Foundation.
 *
 * @package      TomatoCart
 * @author       TomatoCart Dev Team
 * @copyright    Copyright (c) 2009 - 2012, TomatoCart. All rights reserved.
 * @license      http://www.gnu.org/licenses/gpl.html
 * @link         http://tomatocart.com
 * @since        Version 1.1.8
 * @filesource
*/
?>

<h1><?php echo $osC_Template->getPageTitle(); ?></h1>

<form name="account_newsletter" action="<?php echo osc_href_link(FILENAME_ACCOUNT, 'newsletters=save', 'SSL'); ?>" method="post">

    <div class="moduleBox">
        <h6><?php echo $osC_Language->get('newsletter_subscriptions_heading'); ?></h6>
        
        <div class="content">
            <div class="control-group">
            	<label class="checkbox"  for="newsletter_general">
                	<input type="checkbox" id="newsletter_general" name="newsletter_general" value="1" <?php echo (($Qnewsletter->value('customers_newsletter') == '1') ? ' checked="checked"' : ''); ?> /><?php echo $osC_Language->get('newsletter_general'); ?>
                </label>
            </div>
            
            <p><?php echo $osC_Language->get('newsletter_general_description'); ?></p>
        </div>
    </div>

    <div class="submitFormButtons right">
	    <button class="btn btn-small pull-right"><i class="icon-chevron-right icon-white"></i> <?php echo $osC_Language->get('button_continue'); ?></button>
    </div>

</form>
